import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/warehouse_device_static_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/warehouse_device_static_entity.g.dart';

@JsonSerializable()
class WarehouseDeviceStaticEntity {

	WarehouseDeviceStaticEntity();

	factory WarehouseDeviceStaticEntity.fromJson(Map<String, dynamic> json) => $WarehouseDeviceStaticEntityFromJson(json);
	int? alarmNum;
	int? dosage;
	int? drugLimit;
	int? fan;
	double? humidity;
	String? id;
	int? inRecord;
  String? mac;
	int? numberOfPieces;
	int? outRecord;
	int? relTimePerson;
	int? restrictedPersonnel;
	String? states;
	double? temperature;
	String? videoUrl;
	String? warehouseLevel;
	String? warehouseName;

	Map<String, dynamic> toJson() => $WarehouseDeviceStaticEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
